﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 编程003
{
    internal class 测试题1
    {
        static void Main(string[] args)
        {
            char sex = Convert.ToChar(Console.ReadLine());
            int num = Convert.ToInt32(Console.ReadLine());

            if(sex =='F')
            {
                string project = "800M";
                if(num %2 ==1)
                {
                    project += " 跳绳";
                }
                else
                {
                    project += " 仰卧起坐";
                }
                Console.WriteLine(project);
            }
            else
            {
                Console.WriteLine("1000M");
                if (num % 2 == 1)
                {
                    Console.WriteLine("跳远");
                }
                else
                {
                    Console.WriteLine("俯卧撑");
                }
            }
        }
    }
}
